﻿namespace work1._2
{
    internal class leap
    {
        static bool isLeap(int n)
        {
            bool flag = false;
            if (n % 4 == 0) flag = true;
            if (n % 100 == 0) flag = false;
            if (n % 400 == 0) flag = true;
            return flag;

        }
        static void Main(string[] args)
        {
            String s = Console.ReadLine();
            int c = Convert.ToInt32(s);
            if (isLeap(c) == true) Console.WriteLine("Yes");
            else Console.WriteLine("False");

        }
    }
}

